const key = 'USER-INFO'
export function getUserInfo() {
  return JSON.parse(sessionStorage.getItem(key))
}

export function setUserInfo(data) {
  return sessionStorage.setItem(key, data)
}

export function removeUserInfo() {
  return sessionStorage.removeItem(key)
}
